package com.hwg.emp.service.impl;

import java.util.List;

import com.hwg.emp.dao.CheckDAO;
import com.hwg.emp.dao.DaoFactory;
import com.hwg.emp.dto.PageBean;
import com.hwg.emp.model.CheckMD;

import com.hwg.emp.service.CheckService;

public class CheckServiceImpl implements CheckService{
    
	private CheckDAO dao = DaoFactory.getDao(CheckDAO.class);
	
	@Override
	public List <CheckMD> selectCheck(String Emp_id,PageBean pagebean) throws Exception {
		return dao .selectCheck(Emp_id, pagebean);
	}

	@Override
	public int selectCheckAcount(String emp_id) throws Exception {
		// TODO Auto-generated method stub
		return dao.selectCheckAcount(emp_id);
	}
           
}
